﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace yaTDL.Core
{
    public class SavedSearch : NotifyObject
    {
        #region Fields

        string _name;
        string _searchTerm;

        #endregion

        #region Properties

        public string Name
        {
            get { return _name; }
            set
            {
                if (value != _name)
                {
                    _name = value;
                    RaisePropertyChanged("Name");
                }
            }
        }

        public string SearchTerm
        {
            get { return _searchTerm; }
            set
            {
                if (value != _searchTerm)
                {
                    _searchTerm = value;
                    RaisePropertyChanged("SearchTerm");
                }
            }
        }

        #endregion
    }
    
}
